﻿@model IEnumerable<TaoNiuOA.Models.Salary>
@{
    ViewBag.Title = "我的工资";
    Layout = "~/Views/Shared/_AdminLayout.cshtml";
}
<fieldset>
    <legend>我的工资</legend>
    <br />
    <table>
        <tr>
            <th>
                用户
            </th>
            <th>
                工资月份
            </th>
            <th>
                应得工资
            </th>
            <th>
                扣除工资
            </th>
            <th>
                实得工资
            </th>
        </tr>
        @foreach (var item in Model)
        {
            <tr>
                <td>
                    @Html.DisplayFor(modelItem => item.UserID)
                </td>
                <td>
                    @Html.DisplayFor(modelItem => item.PayMonth)
                </td>
                <td>
                    @Html.DisplayFor(modelItem => item.TotalSalary)
                </td>
                <td>
                    @Html.DisplayFor(modelItem => item.LackSalary)
                </td>
                <td>
                    @Html.DisplayFor(modelItem => item.PaySalary)
                </td>
            </tr>
        }
    </table>
</fieldset>
